function(lite_cc_test_with_model_and_data TARGET)
    if(NOT WITH_TESTING)
        return()
    endif()

    set(options "")
    set(oneValueArgs MODEL DATA CONFIG SOURCE ARGS)
    set(multiValueArgs "")
    cmake_parse_arguments(args "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})

    if(DEFINED args_MODEL)
        set(ARGS ${ARGS} --model_dir=${LITE_MODEL_DIR}/${args_MODEL})
    endif()
    if(DEFINED args_DATA)
        set(ARGS ${ARGS} --data_dir=${LITE_MODEL_DIR}/${args_DATA})
    endif()
    if(DEFINED args_CONFIG)
        set(ARGS ${ARGS} --config_dir=${LITE_MODEL_DIR}/${args_CONFIG})
    endif()
    if(DEFINED args_ARGS)
        set(ARGS ${ARGS} ${args_ARGS})
    endif()
    set(SOURCE ${TARGET}.cc)
    if(DEFINED args_SOURCE)
        set(SOURCE ${args_SOURCE})
    endif()
    lite_cc_test(${TARGET} SRCS ${SOURCE}
        DEPS ${lite_model_test_DEPS} paddle_api_full kernels
        ARGS ${ARGS} SERIAL)

    if(DEFINED args_MODEL)
        string(REGEX REPLACE "[-%./]" "_" args_MODEL ${args_MODEL})
        add_dependencies(${TARGET} extern_lite_download_${args_MODEL}_tar_gz)
    endif()
    if(DEFINED args_DATA)
        add_dependencies(${TARGET} extern_lite_download_${args_DATA}_tar_gz)
    endif()
    if(DEFINED args_CONFIG)
        add_dependencies(${TARGET} extern_lite_download_${args_CONFIG}_tar_gz)
    endif()
endfunction()

if(LITE_WITH_ARM)
    lite_cc_test_with_model_and_data(test_inception_v4_fp32_arm MODEL inception_v4 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_fp32_arm MODEL mobilenet_v1 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_int8_dygraph_arm MODEL mobilenetv1_int8_dygraph_for_arm DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v2_fp32_arm MODEL mobilenet_v2_relu DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v3_small_x1_0_fp32_arm MODEL mobilenet_v3_small_x1_0 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v3_large_x1_0_fp32_arm MODEL mobilenet_v3_large_x1_0 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet50_fp32_arm MODEL resnet50 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_squeezenet_fp32_arm MODEL squeezenet DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_transformer_with_mask_fp32_arm MODEL transformer_with_mask_fp32)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_int8_arm MODEL mobilenet_v1_int8_for_arm DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_int8_per_layer_arm MODEL mobilenet_v1_int8_per_layer DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v2_int8_arm MODEL mobilenet_v2_int8_for_arm DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet50_int8_arm MODEL resnet50_int8_for_arm DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_ocr_lstm_int8_arm MODEL ocr_rec_quant_mul_lstm_for_arm DATA ocr_rec_img_txt)
    lite_cc_test_with_model_and_data(test_nlp_lstm_int8_arm MODEL nlp_quant_lstm_int8_arm DATA nlp_quant_lstm_int8_data_txt)
    lite_cc_test_with_model_and_data(test_lac_crf_fp32_int16_arm MODEL lac_fp32_arm DATA lac_data_txt)
endif()

# if(LITE_WITH_OPENCL)
#     lite_cc_test_with_model_and_data(test_mobilenet_v1_fp32_opencl MODEL mobilenet_v1 DATA ILSVRC2012_500)
# endif()

# Only test on android, disable it for ci error
# if(ANDROID)
#     lite_cc_test_with_model_and_data(test_transformer_nlp2_fp32_arm MODEL transformer_nlp2_fp32_arm DATA transformer_nlp2_data_txt)
# endif()

if(LITE_WITH_XPU)
    lite_cc_test_with_model_and_data(test_bert_base_chinese_fp32_baidu_xpu MODEL bert_base_chinese DATA bert_base_chinese_data)
    lite_cc_test_with_model_and_data(test_bert_fp32_baidu_xpu MODEL bert DATA bert_data)
    lite_cc_test_with_model_and_data(test_ernie_fp32_baidu_xpu MODEL ernie DATA bert_data)
    lite_cc_test_with_model_and_data(test_googlenet_fp32_baidu_xpu MODEL GoogLeNet DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet50_fp32_baidu_xpu MODEL resnet50 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet50_vd_fp32_baidu_xpu MODEL resnet50_vd DATA flowers102_val)
    lite_cc_test_with_model_and_data(test_vgg16_fp32_baidu_xpu MODEL vgg16 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_vgg19_fp32_baidu_xpu MODEL VGG19 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_yolov3_darknet53_fp32_baidu_xpu MODEL yolov3_darknet53 DATA roadsign_data_128)
endif()

if(LITE_WITH_METAL)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_fp32_metal MODEL mobilenet_v1 DATA ILSVRC2012_500)
endif()

if(LITE_WITH_NNADAPTER)
    # PaddleClas
    lite_cc_test_with_model_and_data(test_mobilenet_v1_fp32_v1_8_nnadapter                        SOURCE test_mobilenet_v1_fp32_v1_8_nnadapter.cc                        MODEL mobilenet_v1                                 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_int8_per_layer_v1_8_nnadapter              SOURCE test_mobilenet_v1_int8_per_layer_v1_8_nnadapter.cc              MODEL mobilenet_v1_int8_per_layer                  DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_int8_per_channel_v1_8_nnadapter            SOURCE test_mobilenet_v1_int8_per_channel_v1_8_nnadapter.cc            MODEL mobilenet_v1_int8_per_channel                DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet50_fp32_v1_8_nnadapter                            SOURCE test_resnet50_fp32_v1_8_nnadapter.cc                            MODEL resnet50                                     DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet50_int8_per_layer_v1_8_nnadapter                  SOURCE test_resnet50_int8_per_layer_v1_8_nnadapter.cc                  MODEL resnet50_int8_per_layer                      DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_alexnet_fp32_v2_0_nnadapter                             SOURCE test_alexnet_fp32_v2_0_nnadapter.cc                             MODEL AlexNet_v2_0                                 DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_densenet121_fp32_v2_0_nnadapter                         SOURCE test_densenet121_fp32_v2_0_nnadapter.cc                         MODEL DenseNet121_v2_0                             DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_googlenet_fp32_v2_0_nnadapter                           SOURCE test_googlenet_fp32_v2_0_nnadapter.cc                           MODEL GoogLeNet_v2_0                               DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_efficientnet_b0_fp32_v2_0_nnadapter                     SOURCE test_efficientnet_b0_fp32_v2_0_nnadapter.cc                     MODEL EfficientNetB0_v2_0                          DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_inception_v3_fp32_v2_0_nnadapter                        SOURCE test_inception_v3_fp32_v2_0_nnadapter.cc                        MODEL InceptionV3_v2_0                             DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_inception_v4_fp32_v2_0_nnadapter                        SOURCE test_inception_v4_fp32_v2_0_nnadapter.cc                        MODEL InceptionV4_v2_0                             DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v1_fp32_v2_0_nnadapter                        SOURCE test_mobilenet_v1_fp32_v2_0_nnadapter.cc                        MODEL MobileNetV1_v2_0                             DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v2_fp32_v2_0_nnadapter                        SOURCE test_mobilenet_v2_fp32_v2_0_nnadapter.cc                        MODEL MobileNetV2_v2_0                             DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v3_large_x_1_0_fp32_v2_0_nnadapter            SOURCE test_mobilenet_v3_large_x_1_0_fp32_v2_0_nnadapter.cc            MODEL MobileNetV3_large_x1_0_v2_0                  DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_mobilenet_v3_small_x_1_0_fp32_v2_0_nnadapter            SOURCE test_mobilenet_v3_small_x_1_0_fp32_v2_0_nnadapter.cc            MODEL MobileNetV3_small_x1_0_v2_0                  DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet18_fp32_v2_0_nnadapter                            SOURCE test_resnet18_fp32_v2_0_nnadapter.cc                            MODEL ResNet18_v2_0                                DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet50_fp32_v2_0_nnadapter                            SOURCE test_resnet50_fp32_v2_0_nnadapter.cc                            MODEL ResNet50_v2_0                                DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnet101_fp32_v2_0_nnadapter                           SOURCE test_resnet101_fp32_v2_0_nnadapter.cc                           MODEL ResNet101_v2_0                               DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_resnext50_fp32_v2_0_nnadapter                           SOURCE test_resnext50_fp32_v2_0_nnadapter.cc                           MODEL ResNeXt50_32x4d_v2_0                         DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_shufflenet_v2_fp32_v2_0_nnadapter                       SOURCE test_shufflenet_v2_fp32_v2_0_nnadapter.cc                       MODEL ShuffleNetV2_x1_0_v2_0                       DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_squeezenet_v1_fp32_v2_0_nnadapter                       SOURCE test_squeezenet_v1_fp32_v2_0_nnadapter.cc                       MODEL SqueezeNet1_0_v2_0                           DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_vgg16_fp32_v2_0_nnadapter                               SOURCE test_vgg16_fp32_v2_0_nnadapter.cc                               MODEL VGG16_v2_0                                   DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_vgg19_fp32_v2_0_nnadapter                               SOURCE test_vgg19_fp32_v2_0_nnadapter.cc                               MODEL VGG19_v2_0                                   DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_darknet53_fp32_v2_3_nnadapter                           SOURCE test_darknet53_fp32_v2_3_nnadapter.cc                           MODEL PaddleClas/v2.3/DarkNet/DarkNet53                       DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_deit_base_patch16_224_fp32_v2_3_nnadapter               SOURCE test_deit_base_patch16_224_fp32_v2_3_nnadapter.cc               MODEL PaddleClas/v2.3/DeiT/DeiT_base_patch16_224              DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_dpn68_fp32_v2_3_nnadapter                               SOURCE test_dpn68_fp32_v2_3_nnadapter.cc                               MODEL PaddleClas/v2.3/DPN/DPN68                               DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_ghostnet_fp32_v2_3_nnadapter                            SOURCE test_ghostnet_fp32_v2_3_nnadapter.cc                            MODEL PaddleClas/v2.3/GhostNet/GhostNet_x1_0                  DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_hrnet_w18_c_fp32_v2_3_nnadapter                         SOURCE test_hrnet_w18_c_fp32_v2_3_nnadapter.cc                         MODEL PaddleClas/v2.3/HRNet/HRNet_W18_C                       DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_pplcnet_x0_25_fp32_v2_3_nnadapter                       SOURCE test_pplcnet_x0_25_fp32_v2_3_nnadapter.cc                       MODEL PaddleClas/v2.3/PPLCNet/PPLCNet_x0_25                   DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_res2net50_26w_4s_fp32_v2_3_nnadapter                    SOURCE test_res2net50_26w_4s_fp32_v2_3_nnadapter.cc                    MODEL PaddleClas/v2.3/Res2Net/Res2Net50_26w_4s                DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_se_resnet50_vd_fp32_v2_3_nnadapter                      SOURCE test_se_resnet50_vd_fp32_v2_3_nnadapter.cc                      MODEL PaddleClas/v2.3/SENet/SE_ResNet50_vd                    DATA ILSVRC2012_500)
    lite_cc_test_with_model_and_data(test_vit_base_patch16_224_fp32_v2_3_nnadapter                SOURCE test_vit_base_patch16_224_fp32_v2_3_nnadapter.cc                MODEL PaddleClas/v2.3/VisionTransformer/ViT_base_patch16_224  DATA ILSVRC2012_500)
    # PaddleDetection
    lite_cc_test_with_model_and_data(test_ssd_mobilenet_v1_relu_voc_int8_per_layer_v1_8_nnadapter SOURCE test_ssd_mobilenet_v1_relu_voc_int8_per_layer_v1_8_nnadapter.cc MODEL ssd_mobilenet_v1_relu_voc_int8_300_per_layer DATA VOC2012_100)
    lite_cc_test_with_model_and_data(test_ssd_mobilenet_v1_relu_voc_fp32_v1_8_nnadapter           SOURCE test_ssd_mobilenet_v1_relu_voc_fp32_v1_8_nnadapter.cc           MODEL ssd_mobilenet_v1_relu_voc_fp32_300           DATA VOC2012_100)
    lite_cc_test_with_model_and_data(test_ssd_mobilenet_v1_voc_fp32_v2_2_nnadapter                SOURCE test_ssd_mobilenet_v1_voc_fp32_v2_2_nnadapter.cc                MODEL ssd_mobilenet_v1_relu_voc_v2_2               DATA VOC2012_100)
    lite_cc_test_with_model_and_data(test_ssd_vgg16_voc_fp32_v2_2_nnadapter                       SOURCE test_ssd_vgg16_voc_fp32_v2_2_nnadapter.cc                       MODEL ssd_vgg16_voc_v2_2                           DATA VOC2012_100)
    lite_cc_test_with_model_and_data(test_yolov3_darknet53_coco_fp32_v2_2_nnadapter               SOURCE test_yolov3_darknet53_coco_fp32_v2_2_nnadapter.cc               MODEL yolov3_darknet53_coco_v2_2                   DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_yolov3_mobilenet_v1_coco_fp32_v2_2_nnadapter            SOURCE test_yolov3_mobilenet_v1_coco_fp32_v2_2_nnadapter.cc            MODEL yolov3_mobilenet_v1_coco_v2_2                DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_yolov3_mobilenet_v3_large_coco_fp32_v2_2_nnadapter      SOURCE test_yolov3_mobilenet_v3_large_coco_fp32_v2_2_nnadapter.cc      MODEL yolov3_mobilenet_v3_large_coco_v2_2          DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_yolov3_r50vd_dcn_coco_fp32_v2_2_nnadapter               SOURCE test_yolov3_r50vd_dcn_coco_fp32_v2_2_nnadapter.cc               MODEL yolov3_r50vd_dcn_coco_v2_2                   DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_yolov4_cspdarknet_coco_fp32_v1_8_nnadapter              SOURCE test_yolov4_cspdarknet_coco_fp32_v1_8_nnadapter.cc              MODEL yolov4_cspdarknet_coco_v1_8                  DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_ppyolo_r50vd_dcn_1x_coco_fp32_v2_2_nnadapter            SOURCE test_ppyolo_r50vd_dcn_1x_coco_fp32_v2_2_nnadapter.cc            MODEL ppyolo_r50vd_dcn_1x_coco_v2_2                DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_ppyolo_r50vd_dcn_1x_coco_fp32_v2_3_nnadapter            SOURCE test_ppyolo_r50vd_dcn_1x_coco_fp32_v2_3_nnadapter.cc            MODEL PaddleDetection/v2.3/ppyolo_r50vd_dcn_1x_coco       DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_ppyolo_mbv3_large_coco_fp32_v2_3_nnadapter              SOURCE test_ppyolo_mbv3_large_coco_fp32_v2_3_nnadapter.cc              MODEL PaddleDetection/v2.3/ppyolo_mbv3_large_coco         DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_ppyolo_tiny_coco_fp32_v2_3_nnadapter                    SOURCE test_ppyolo_tiny_coco_fp32_v2_3_nnadapter.cc                    MODEL PaddleDetection/v2.3/ppyolo_tiny_650e_coco          DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_ppyolo2_r50vd_dcn_coco_fp32_v2_3_nnadapter              SOURCE test_ppyolo2_r50vd_dcn_coco_fp32_v2_3_nnadapter.cc              MODEL PaddleDetection/v2.3/ppyolov2_r50vd_dcn_365e_coco   DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_picodet_coco_fp32_v2_3_nnadapter                        SOURCE test_picodet_coco_fp32_v2_3_nnadapter.cc                        MODEL PaddleDetection/v2.3/picodet_m_416_coco             DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_ssdlite_mobilenet_v3_large_coco_fp32_static_nnadapter   SOURCE test_ssdlite_mobilenet_v3_large_coco_fp32_static_nnadapter.cc   MODEL PaddleDetection/static/ssdlite_mobilenet_v3_small   DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_ssdlite_mobilenet_v3_small_coco_fp32_static_nnadapter   SOURCE test_ssdlite_mobilenet_v3_small_coco_fp32_static_nnadapter.cc   MODEL PaddleDetection/static/ssdlite_mobilenet_v3_large   DATA COCO2017_100)
    lite_cc_test_with_model_and_data(test_higher_hrnet_w32_640_fp32_v2_0_nnadapter                SOURCE test_higher_hrnet_w32_640_fp32_v2_0_nnadapter.cc                MODEL higherhrnet_hrnet_w32_640_v2_0               DATA COCO2017_keypoints_100)
    lite_cc_test_with_model_and_data(test_hrnet_w32_384x288_fp32_v2_0_nnadapter                   SOURCE test_hrnet_w32_384x288_fp32_v2_0_nnadapter.cc                   MODEL hrnet_w32_384x288_v2_0                       DATA COCO2017_keypoints_100)
    lite_cc_test_with_model_and_data(test_pptinypose_fp32_v2_3_nnadapter                          SOURCE test_pptinypose_fp32_v2_3_nnadapter.cc                          MODEL PaddleDetection/v2.3/tinypose_128x96         DATA specific_model_input_output)
    # PaddleOCR
    lite_cc_test_with_model_and_data(test_ch_ppocr_mobile_v2_0_det_fp32_v2_3_nnadapter            SOURCE test_ch_ppocr_mobile_v2_0_det_fp32_v2_3_nnadapter.cc            MODEL PaddleOCR/v2.3/ch_ppocr_mobile_v2_0_det_v2_0  DATA ocr_db_data)
    lite_cc_test_with_model_and_data(test_ch_ppocr_mobile_v2_0_rec_fp32_v2_3_nnadapter            SOURCE test_ch_ppocr_mobile_v2_0_rec_fp32_v2_3_nnadapter.cc            MODEL PaddleOCR/v2.3/ch_ppocr_mobile_v2_0_rec_v2_0  DATA ocr_rec_data)
    lite_cc_test_with_model_and_data(test_ch_ppocr_server_v2_0_det_fp32_v2_3_nnadapter            SOURCE test_ch_ppocr_server_v2_0_det_fp32_v2_3_nnadapter.cc            MODEL PaddleOCR/v2.3/ch_ppocr_server_v2.0_det_infer DATA ocr_db_data)
    lite_cc_test_with_model_and_data(test_ch_ppocr_server_v2_0_rec_fp32_v2_3_nnadapter            SOURCE test_ch_ppocr_server_v2_0_rec_fp32_v2_3_nnadapter.cc            MODEL PaddleOCR/v2.3/ch_ppocr_server_v2.0_rec_infer DATA ocr_rec_data)
    lite_cc_test_with_model_and_data(test_ch_ppocr_v2_det_fp32_v2_3_nnadapter                     SOURCE test_ch_ppocr_v2_det_fp32_v2_3_nnadapter.cc                     MODEL PaddleOCR/v2.3/ch_PP-OCRv2_det_infer          DATA ocr_db_data)
    lite_cc_test_with_model_and_data(test_ch_ppocr_v2_rec_fp32_v2_3_nnadapter                     SOURCE test_ch_ppocr_v2_rec_fp32_v2_3_nnadapter.cc                     MODEL PaddleOCR/v2.3/ch_PP-OCRv2_rec_infer          DATA ocr_rec_data)
    lite_cc_test_with_model_and_data(test_crnn_ctc_fp32_v2_3_nnadapter                            SOURCE test_crnn_ctc_fp32_v2_3_nnadapter.cc                            MODEL PaddleOCR/rec_crnn_mv3_ctc                    DATA ocr_rec_data)
    lite_cc_test_with_model_and_data(test_e2e_server_pgnetA_fp32_v2_3_nnadapter                   SOURCE test_e2e_server_pgnetA_fp32_v2_3_nnadapter.cc                   MODEL PaddleOCR/v2.3/e2e_server_pgnetA              DATA ocr_e2e_data)
    # PaddleNLP
    lite_cc_test_with_model_and_data(test_ernie_tiny_fp32_v2_0_nnadapter                          SOURCE test_ernie_tiny_fp32_v2_0_nnadapter.cc                          MODEL PaddleNLP/ernie_tiny                   DATA ernie_tiny_data)
    # PaddleGAN
    lite_cc_test_with_model_and_data(test_esrgan_psnr_x4_div2k_fp32_v2_0_nnadapter                SOURCE test_esrgan_psnr_x4_div2k_fp32_v2_0_nnadapter.cc                MODEL PaddleGAN/esrgan_psnr_x4_div2k         DATA GAN_set14)
    # PaddleRec
    lite_cc_test_with_model_and_data(test_naml_fp32_v2_1_nnadapter      SOURCE test_naml_fp32_v2_1_nnadapter.cc      MODEL PaddleRec/v2.1.0/naml      DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_deepfm_fp32_v2_1_nnadapter    SOURCE test_deepfm_fp32_v2_1_nnadapter.cc    MODEL PaddleRec/v2.1.0/deepfm    DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_ncf_fp32_v2_1_nnadapter       SOURCE test_ncf_fp32_v2_1_nnadapter.cc       MODEL PaddleRec/v2.1.0/ncf       DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_wide_deep_fp32_v2_1_nnadapter SOURCE test_wide_deep_fp32_v2_1_nnadapter.cc MODEL PaddleRec/v2.1.0/wide_deep DATA specific_model_input_output)
    # PaddleSeg
    lite_cc_test_with_model_and_data(test_segformer_fp32_v2_3_nnadapter       SOURCE test_segformer_fp32_v2_3_nnadapter.cc        MODEL PaddleSeg/v2.3/segformer                                     DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_bisenet_fp32_v2_3_nnadapter         SOURCE test_bisenet_fp32_v2_3_nnadapter.cc          MODEL PaddleSeg/v2.3/bisenet                                       DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_stdcseg_fp32_v2_3_nnadapter         SOURCE test_stdcseg_fp32_v2_3_nnadapter.cc          MODEL PaddleSeg/v2.3/stdcseg                                       DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_pphumanseg_lite_fp32_v2_3_nnadapter SOURCE test_pphumanseg_lite_fp32_v2_3_nnadapter.cc  MODEL PaddleSeg/v2.3/pphumanseg_lite_generic_192x192_with_softmax  DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_unet_cityscapes_fp32_v2_3_nnadapter SOURCE test_unet_cityscapes_fp32_v2_3_nnadapter.cc  MODEL PaddleSeg/v2.3/unet_cityscapes_1024x512_160k                 DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_deeplabv3p_resnet50_os8_cityscapes_fp32_v2_3_nnadapter SOURCE test_deeplabv3p_resnet50_os8_cityscapes_fp32_v2_3_nnadapter.cc  MODEL PaddleSeg/v2.3/deeplabv3p_resnet50_os8_cityscapes_1024x512_80k             DATA specific_model_input_output)
    lite_cc_test_with_model_and_data(test_deeplabv3p_resnet50_os8_humanseg_fp32_v2_3_nnadapter   SOURCE test_deeplabv3p_resnet50_os8_humanseg_fp32_v2_3_nnadapter.cc    MODEL PaddleSeg/v2.3/deeplabv3p_resnet50_os8_humanseg_512x512_100k_with_softmax  DATA specific_model_input_output)
    # PaddleVideo
    lite_cc_test_with_model_and_data(test_pptsn_fp32_v2_2_nnadapter   SOURCE test_pptsn_fp32_v2_2_nnadapter.cc  MODEL PaddleVideo/v2.2.0/ppTSN  DATA specific_model_input_output)
endif()
